The following error was generated when "$error.Clear(); when installing 2013 mailbox server.
I am installing 2013 mailbox into my 2010 sp3 exchange org. I have already installed a 2013 CAS which worked ok. I am getting the ofllowing error:
Error:
The following error was generated when "$error.Clear();
if ($RoleIsDatacenter -ne $true)
{
if (Test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
{
$sysMbx = $null;
$name = "SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}";
$dispName = "Microsoft Exchange";
Write-ExchangeSetupLog -Info ("Retrieving mailboxes with Name=$name.");
$mbxs = @(Get-Mailbox -Arbitration -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1 );
if ($mbxs.Length -eq 0)
{
Write-ExchangeSetupLog -Info ("Retrieving mailbox databases on Server=$RoleFqdnOrName.");
$dbs = @(Get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
if ($dbs.Length -ne 0)
{
Write-ExchangeSetupLog -Info ("Retrieving users with Name=$name.");
$arbUsers = @(Get-User -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($arbUsers.Length -ne 0)
{
Write-ExchangeSetupLog -Info ("Enabling mailbox $name.");
$sysMbx = Enable-Mailbox -Arbitration -Identity $arbUsers[0] -DisplayName $dispName -database $dbs[0].Identity;
}
}
}
else
{
if ($mbxs[0].DisplayName -ne $dispName )
{
Write-ExchangeSetupLog -Info ("Setting DisplayName=$dispName.");
Set-Mailbox -Arbitration -Identity $mbxs[0] -DisplayName $dispName -Force;
}
$sysMbx = $mbxs[0];
}
# Set the Organization Capabilities needed for this mailbox
if ($sysMbx -ne $null)
{
# We need 1 GB for uploading large OAB files to the organization mailbox
Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
set-mailbox -Arbitration -identity $sysMbx -UMGrammar:$true -OABGen:$true -GMGen:$true -ClientExtensions:$true -MailRouting:$true -MessageTracking:$true -MaxSendSize 1GB -Force;
}
else
{
Write-ExchangeSetupLog -Info ("Cannot find arbitration mailbox with name=$name.");
}
}
else
{
Write-ExchangeSetupLog -Info "Skipping creating E15 System Mailbox because of insufficient permission."
}
}
" was run: "The active server for database Mailbox Database 1067990391 (457ad99c-9611-43c5-9120-693e0e25709e) could not be found.".
The tail of my setup log looks like so:
[04/25/2013 22:58:47.0105] [2] [ERROR] The active server for database Mailbox Database 1067990391 (457ad99c-9611-43c5-9120-693e0e25709e) could not be found.
[04/25/2013 22:58:47.0105] [2] [ERROR] The active server for database Mailbox Database 1067990391 (457ad99c-9611-43c5-9120-693e0e25709e) could not be found.
[04/25/2013 22:58:47.0105] [2] Ending processing Enable-Mailbox
[04/25/2013 22:58:47.0105] [2] Cannot find arbitration mailbox with name=SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}.
[04/25/2013 22:58:47.0105] [1] The following 1 error(s) occurred during task execution:
[04/25/2013 22:58:47.0105] [1] 0. ErrorRecord: The active server for database Mailbox Database 1067990391 (457ad99c-9611-43c5-9120-693e0e25709e) could not be found.
[04/25/2013 22:58:47.0105] [1] 0. ErrorRecord: Microsoft.Exchange.Data.Storage.UnableToFindServerForDatabaseException: The active server for database Mailbox Database 1067990391 (457ad99c-9611-43c5-9120-693e0e25709e) could not be found.
at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
at Microsoft.Exchange.Management.RecipientTasks.EnableMailbox.GetDatabaseLocationInfo(Database database)
at Microsoft.Exchange.Management.RecipientTasks.EnableMailbox.InternalValidateAndSetArchiveDatabase(DatabaseIdParameter databaseId, Int32 minServerVersion, Boolean throwOnError, Database& database, DatabaseLocationInfo& databaseLocationInfo)
at Microsoft.Exchange.Management.RecipientTasks.EnableMailbox.ValidateAndSetDatabase(DatabaseIdParameter databaseId, Boolean throwOnError)
at Microsoft.Exchange.Management.RecipientTasks.EnableMailbox.InternalValidate()
at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
[04/25/2013 22:58:47.0121] [1] [ERROR] The following error was generated when "$error.Clear();
if ($RoleIsDatacenter -ne $true)
{
if (Test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
{
$sysMbx = $null;
$name = "SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}";
$dispName = "Microsoft Exchange";
Write-ExchangeSetupLog -Info ("Retrieving mailboxes with Name=$name.");
$mbxs = @(Get-Mailbox -Arbitration -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1 );
if ($mbxs.Length -eq 0)
{
Write-ExchangeSetupLog -Info ("Retrieving mailbox databases on Server=$RoleFqdnOrName.");
$dbs = @(Get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
if ($dbs.Length -ne 0)
{
Write-ExchangeSetupLog -Info ("Retrieving users with Name=$name.");
$arbUsers = @(Get-User -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($arbUsers.Length -ne 0)
{
Write-ExchangeSetupLog -Info ("Enabling mailbox $name.");
$sysMbx = Enable-Mailbox -Arbitration -Identity $arbUsers[0] -DisplayName $dispName -database $dbs[0].Identity;
}
}
}
else
{
if ($mbxs[0].DisplayName -ne $dispName )
{
Write-ExchangeSetupLog -Info ("Setting DisplayName=$dispName.");
Set-Mailbox -Arbitration -Identity $mbxs[0] -DisplayName $dispName -Force;
}
$sysMbx = $mbxs[0];
}
# Set the Organization Capabilities needed for this mailbox
if ($sysMbx -ne $null)
{
# We need 1 GB for uploading large OAB files to the organization mailbox
Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
set-mailbox -Arbitration -identity $sysMbx -UMGrammar:$true -OABGen:$true -GMGen:$true -ClientExtensions:$true -MailRouting:$true -MessageTracking:$true -MaxSendSize 1GB -Force;
}
else
{
Write-ExchangeSetupLog -Info ("Cannot find arbitration mailbox with name=$name.");
}
}
else
{
Write-ExchangeSetupLog -Info "Skipping creating E15 System Mailbox because of insufficient permission."
}
}
" was run: "The active server for database Mailbox Database 1067990391 (457ad99c-9611-43c5-9120-693e0e25709e) could not be found.".
[04/25/2013 22:58:47.0121] [1] [ERROR] The active server for database Mailbox Database 1067990391 (457ad99c-9611-43c5-9120-693e0e25709e) could not be found.
[04/25/2013 22:58:47.0121] [1] [ERROR-REFERENCE] Id=SystemAttendantDependent___1DEE95834DBA48F2BB211C2FB6765A5A Component=EXCHANGE14:\Current\Release\Client Access\Unified Messaging
[04/25/2013 22:58:47.0121] [1] Setup is stopping now because of one or more critical errors.
[04/25/2013 22:58:47.0121] [1] Finished executing component tasks.
[04/25/2013 22:58:47.0152] [1] Ending processing Install-MailboxRole
[04/25/2013 23:01:54.0734] [0] End of Setup
[04/25/2013 23:01:54.0734] [0] **********************************************
I have no idea what arbitration mailbox it is referencing. When I goto look I just see:
[PS] C:\Windows\system32>Get-Mailbox -Arbitration | ft -autosize
Name Alias
---- -----
SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9} SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}
FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042
SystemMailbox{1f05a927-5bcf-4646-94aa-cf347ddcfe3e} SystemMailbox{1f05a927-5bcf-4646-94aa-cf347ddcfe3e}
April 25th, 2013 7:11pm
Figured it out, was some leftover databases from previous failed mailbox installations on this server which I deleted from the configuration in ADSI edit. It's been a rough ride getting this going, 3 server wipes later I think I'm ready to roll.
Free Windows Admin Tool Kit Click here and download it now
April 25th, 2013 7:21pm